package
{
	import com.config.FrameWorkStates;
	import com.core.BasicScreen;
	import com.core.GameFrameWork;
	[SWF(width=550,height=400)]
	public class Test extends GameFrameWork
	{
		public function Test()
		{
			super();
			init()
		}
		
		override public function init():void{
			game = new GameTest;
			setApplicationBackGround(550, 400, false, 0x000000);
			
			titleScreen = new BasicScreen;
			titleScreen.createTitleView(title);
			
			instructionsScreen = new BasicScreen;
			instructionsScreen.createInstructionView(instruction);
			
			levelInScreen = new BasicScreen;
			levelInScreen.createLevelIn(levelIn);
			
			switchSystemState(FrameWorkStates.STATE_SYSTEM_TITLE);
			waitTime = 1;
			frameRate = 30;
			startTimer();
			
		}
		
	}
}